﻿using System;
using System.Runtime.Serialization;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ScheduledRepeatItem")]
    public class ScheduledRepeatItem
    {
        [DataMember(IsRequired = true)]
        public int ScheduleRepeatID { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsOneTime { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEveryMonday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEveryTuesday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEveryWednesday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEveryThursday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEveryFriday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEverySaturday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsEverySunday { get; set; }

        [DataMember(IsRequired = true)]
        public bool IsDayOfMonth { get; set; }

        [DataMember(IsRequired = true)]
        public TimeSpan? StartTime { get; set; }

        [DataMember(IsRequired = true)]
        public TimeSpan? EndTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? StartDate { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? EndDate { get; set; }
    }
}